package com.dao;

import java.util.List;
import java.util.Map;

import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.bean.Client;

@Transactional(propagation=Propagation.REQUIRES_NEW,readOnly=false,isolation=Isolation.DEFAULT)
public interface ClientMapper {
		
		public void deleteByPrimaryKey(Integer id);

	  	public void insert(Client record);

	    int insertSelective(Client record);

	    public Client selectByPrimaryKey(Integer id);
	    
	    
	   public Client selectByclientidname(Map<String, Object> map);

	    public void updateByPrimaryKeySelective(Client record);

	    int updateByPrimaryKey(Client record);

		public List<Client> list(Map<String, Object> map);
}